﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Collections.ObjectModel;
using AMail.Common.Interfaces.Data;

namespace AMail.Modules.Folders.Interfaces
{
  public interface IFolderViewModel : INotifyPropertyChanged
  {
    IMailFolder Folder { get; }
    string Header { get; set; }
    bool IsExpanded { get; set; }
    bool IsSelected { get; set; }
    ObservableCollection<IFolderViewModel> Children { get; }
    IFolderViewModel Parent { get; }

    IFolderViewModel FindViewModelByFolder(IMailFolder subfolder);
  }
}
